package com.llynic.designdemo.decoratormode;

public class App {

    public static void main(String[] args) {
        Component component = new ConcreteComponent();
        DecoratorA decoratorA = new DecoratorA(component);
        decoratorA.say();
        decoratorA.buy();
    }
}
